package ${basePackageName}.model${spotAndSubPack};

import java.util.Date;

/**
 * <p></p>
 * <p>@Author：${company} - ${author} </p>
 * <p>@Date：${nowDate?string("yyyy年MM月dd日 HH:mm:ss")} </p>
 */
public class ${className} {

<#list fieldList as var>
    /*
     * ${var[3]} 
     */
    private ${var[1]} ${var[0]};	
</#list>

<#list fieldList as var>
    public void set${var[4]}(${var[1]} ${var[0]}){
        this.${var[0]} = ${var[0]};
    }	

    public ${var[1]} get${var[4]}(){
        return this.${var[0]};
    }	

</#list>

	@Override
    public String toString() {
        return "{" +
		        <#list fieldList as var>
        	<#if '${var[0]}' == '${pKey[1]}'>
				"${var[0]}:" + ${var[0]} + "" +
			<#else>
				" , ${var[0]}:" + ${var[0]} + "" +
			</#if>
				</#list>
               '}';
    }
}
